package com.itheima.a04mygenirics;

import java.util.ArrayList;

public class GenericsDemo2 {
    public static void main(String[] args) {
        MyArrayList<String> list = new MyArrayList<>();
        list.add("aaa");
        list.add("bbb");
        list.add("ccc");

        System.out.println("list = " + list);
    }
}
